package com.userfactssample.client.client.framework.event;

import java.util.Date;

import com.google.gwt.event.shared.GwtEvent;
import com.userfactssample.client.client.framework.handler.UMEventHandler;

/**
* UFClientEvent is the base class for all UserFacts UI Events. 
* 
* @author Neha.V
* 
* @date : Jan 19, 2011
* 
* @version: 1.0
*/

public abstract class UMClientEvent<H extends UMEventHandler> extends GwtEvent<H> {
    private String eventId = "";
    private Date occuredAt = new Date();
    
    public UMClientEvent(String eventId){
    	super();
    	this.eventId = eventId;
    }
    /**
	 * @return the eventId
	 */
	public String getEventId() {
		return eventId;
	}

	/**
	 * @return the occuredAt
	 */
	public Date getOccuredAt() {
		return occuredAt;
	}
}
